import { IParam, IViewCtx } from '../../common';
import { ILoadingHelper } from '../../modules';
import { IStore } from '../../modules/common';

/**
 * 视图控制器仓库数据基类接口
 *
 * @export
 * @interface IViewStore
 * @extends {IStore}
 */
export interface IViewStore extends IStore {
	/**
	 * 关闭视图
	 *
	 * @type {Function}
	 * @memberof IViewStore
	 */
	closeView: Function;

	/**
	 * 加载助手
	 *
	 * @type {ILoadingHelper}
	 * @memberof IViewStore
	 */
	loadingHelper: ILoadingHelper;

	/**
	 * 视图消息
	 *
	 * @memberof IViewStore
	 */
	viewMsgs: IParam[];

	/**
	 * 布局面板数据
	 *
	 * @type {IParam}
	 * @memberof IViewStore
	 */
	layoutData: IParam;

	/**
	 * 布局面板模型对象
	 *
	 * @type {IParam}
	 * @memberof IViewStore
	 */
	layoutModelDetails: IParam;

	/**
	 * 工具栏项
	 *
	 * @type {IParam[]}
	 * @memberof IDEViewStore
	 */
	toolbarItems: IParam[];
}
